package cn.kgc.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;

@SpringBootApplication
@EnableCircuitBreaker  //  开启hystrix的服务
public class HystrixService2Application {
    public static void main(String[] args) {
        SpringApplication.run(HystrixService2Application.class,args);
    }
}
